package gui;

import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;

import information.Data;

/**
 * Sets up the UI look and feel to match the OS. 
 * Initializes the data and the frame. Starts the program. 
 * 
 * @author Natalie
 *
 */
public class Main {

	public static void main(String[] args) {
		

		try {UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());}
		catch (ClassNotFoundException e) {}
		catch (InstantiationException e) {}
		catch (IllegalAccessException e) {}
		catch (UnsupportedLookAndFeelException e) {}


		Data mainData = new Data();
		mainData.start();
		Frame mainFrame = new Frame(mainData);
		mainFrame.start();
	}
}
